﻿using EmoneyWeiXinCommon;
using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace EmoneyWeiXinDAL
{
    public class TJ_Business_LoyaltyDAL
    {

        //获取用户活跃度数据
        public List<TJ_Business_LoyaltyEntity> GetLoyaltyData(string weixinId)
        {
            SqlParameter[] paras = new SqlParameter[] { new SqlParameter("@weixinId", weixinId) };
            return SQLHelper.GetProcedureDataByColumnsLst<TJ_Business_LoyaltyEntity>(Config.EmoneyWeiXin, "proc_GetUserLoyaltyData", paras);
        }
    }
}
